package com.example.carrent.Util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 分页查询工具类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageResult {

    /**当前页*/
    private Integer pageNum;
    /**每页记录数*/
    private Integer pageSize;
    /**总记录数*/
    private Long total;
    /**每页显示具体数据*/
    private List list;
}
